package com.sunnay.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("SHOP_HELPER_LIST")
public class ShopHelperListEntity implements java.io.Serializable {

    @TableId(value = "ID", type = IdType.INPUT)
    @TableField("ID")
    private Integer id;

    @TableField("USER_ID")
    @JsonIgnore
    private Integer userId;

    @TableField("NICKNAME")
    private String nickname;

    @TableField("EXPIRE_TIME")
    private Timestamp expireTime;

    @TableField("GROUND_TIME")
    private Timestamp groundTime;

    @TableField("adminId")
    private Integer adminId;

    @TableField("inTime")
    @JSONField(serialize = false)
    private Timestamp inTime;

    @TableField("SHOP_URI")
    private String shopUri = "";

    @TableField("SHOP_UT")
    private String shopUt;

    @TableField("REPLY_TIME")
    private Timestamp replyTime;
}
